half written class