added some features the gui needs