use the library functions for shared code