refer to system.toplevel in system