images handling done. TODO: write more steps and tests