Transformed into shared library