add global start/end stubs