work from previous classes