connect libs with moti