moved method to parent