removed deprecated warning for contains method