started on gui code