Converted Array to template