Cleaning licence code (to be continued)