first step toward json control