cleaning up methods and instances