adding a simple contains method