added simple gui example