compare each param