End of Game Loop added