add addtitional check for value