ADD: changed style + readImage and writeImage