add template library