add difficulty to template