using contains instead of exists