add lib and source