Write to nicer format