templates now in resources