Removed unneccessary copy operation