made the soln. quite faster.