testing out loop in gui"