added need and json-reduce