renamed method name and method parameter to be more self explanatory