coding simGen