first version of gui done