sorted out the image