begin new style GUI API