Added contains constraint