added ValueTemplate class