merge basic library