I think all you need here is @app.call(env) since it returns the array itself