implement IMAGE mode, simulation already working, real to be tested