Updated arrays and created template array 0