implemented push()
call push() inside of simulate()