finished GUI example... preparing an animated version