removed unnecessary param from function signature