added iter function and remove species