small reordering in constructors