restructured GUI