Nice way of problem solving..i ll try in the future.