apply licence