added player offline mode