add difficulty index