Removed unnecessary call by reference