done first two points of simulation