removed some sleep & image print