This function needs the other two parameters.