updated with JSON service