add lib3 created by xiaodong