allowed the "bake_cookie" function to accept an array (to be serialized)