Breaking: Dont prepare images in printImage function
Reformatted code