made some improvements to realistic sim