Reduced image size, refactored.