added difficulty + fixed compilation