committing images first