added text preview on page