refactor, make image much smaller