passing array into template
modification for passing array into template