adds example of OnGUI version