implemented cookie_monster