added nesting limit, preparing for release