added verification for name equality ignoring case