Added license
Added patch method