Implemented recursive re-inject method