Added prototype for pet class