minor change for gameplay and adding end