updated fanme since contains method was removed