move method to base class