Added value to difficulty to get rid of magic numbers