generalizing formatting procs. wip, untested