added difficulty adjustment