be backwards compatible with old-rust