edit to ensure feedback to GUI is correct.