added two images for  image generator
adding random ID
added calculation logic