changed to instance_eval