adding single player mode