minor
started: optimize image handling --- might crash