Adding initial generation of image