Added difficulty calculations