merging libraries