added GUI stuff