done (using json input) --Joey