initial work on gui