complete exercise 1: classes