Completed top level wrapper pre debug.