Is there a reason species is taken care of separately?
The field tag gives it an int data type already, so it should be able to be handled in the first `if`