getting fitting working through gui