a class i wrote before