Legal considerations in sub-licensing