add methods to class library