added real templates; added static