lib to process data