structure and gui