add array type
update code to ignore Template in Collection