updated for new NeoBundle functions begin/end