proper monkey patching