Added alternative version for text retrieving