added initial image generation