resource-to-sequence example and text changes