Darwin struggled with defining species and varieties in his work describing barnacles. He found the distinction between species and varieties to be vague and arbitrary. At times he would describe forms as distinct species only to later reconsider and describe them as one species or varieties. Determining priority of names for similar forms was also difficult work. While describing his cirripedia, Darwin did not feel that his doubts about the permanence of species affected his work much, though in some cases he would or would not have applied names depending on his views. He acknowledged that it was necessary work to apply Linnaean names to his barnacle species, and that understanding the importance of classification helped develop his theory of evolution.