added difficulty setting functionality