can resize image, code cleanup