removed unnecessary parameter.