Updated the code with the license