modify to compare openid