added contains method