sort out license