setup lib