Added contains functionality