renamed lastStable( to stable(, adde try into the controller