append input values to empty array and render templates from the populated array obj