method to  modify data
add functions to calculate tasks' time in percents and  duration of tasks