more work on end game