debugging new gui