why are these checks needed?