added some gui features