added parameter of area under curve