changed gui structure