First commit for issue #3. Allows only text refrences