beginning hand-coding class