Add license
Using class and method