tidy up licensing