formatted the simpleHub code