updated spec
null protection