updating the code to remove the unneeded parameters