made a Toy class for readability