Removed unneeded list copying