added contains() method