Problem 4 & 5