working on add lib class