done problems 1 & 2