reverted back our changes and added in the new define_method