minor reordering of a/b