Using templated version of append in array
Added more templates