optimized getters in animal class