multid as a lib