Removed an unneeded function argument