created the open_bus function