basic templates working