second step of the solving

breaking the problem into parts.