set difficulty var