update template format to include show local var and instance var. Add Array TODO