Added another option to sum up the data