added some GUI features