adding some gui features