Problem 1 & 2