worked a little on gui