add sleep to print image well