cleaned up our define_method calls