first examples now use JSON