reordering decl