added median,average calc add the list container