problems 3 & 4