NOT WORKING! Working on integrating the input from the GUI with the HW