class containing methods