so the first parameter is the one with the highest index in