removed an unused paramater