described the next task
copied code for solution
implemented solution

inlinded method calls.
simplified methods.