added problems 5-7