Make sure we break out once we reach the top.