make library call