moved mboot struct into a global