better support for text records