model time for 2d model (to be reviewed for memory leak with timers)