added 2d sim