pass library name in DEFINE