load template library instead of include