added basic template capabilities