added GUI features.