removed unused parameter.