made some pregress on the gui