Added match contains functionality