add ui for setting algorithm parameters