add parameterized method