working on gui stuff