implemented library path search