updated to new text model