simple class homework