Adding function verify equal