working on gui interface, still not working