Added first image creation code