started writing GUI code