New lib for processing records