adds all method to base class