Added new ViewText function