corrected origin to text; added docs