Preparing to write GUI code