add arch_rec type for serialization