complete exercise 1 & 2