changed cook controller