stopped looping, moved GUI