solved problem 006

Signed-off-by: Kishor Bhat <kishorbhat@gmail.com>