end game preparation