Getting very close…simulation doesn't end cleanly though