adding exercise 4 code and study drill