The parameters should be const references for the last three parameters