refactored game over from else to or