reformat for other poj