My idea of how the main function will work