algorithm runner works from gui