<nit>Use string.Equals, in case slot is null </nit>