moved method to superclass