encapsulate the creature class