problem 4 & 5