removing unused parameter from method