uncomment vector assign function template