Data processing and formating utilities