exercises 1 through 4