refactored images to background image