adding a difficulty variable to service