3 functions for zoo class