added new contains method