work with output fmt