v1.1 seperating the GUI and backend calculations