cleaned up a data formatter