added some gui stuff