solved 1 & 2