Writing auto4 comparison