implemented skeleton for GUI