prepare for endscreen