2 new templates using an array and two functions that have instances that interact with each other