added parameter
Added test