getting more template functionality