contains() implemented