Integrated with the gui