too write gui program