Working version of simulate once