added HAS and HAS_NOT