cook is now a var