use local::lib as described in its docs