refactored the images to be much less code