Added function to add species