generate to play