Added contains function