built as library