added some fancy legend and mc substraction functionality