more general formatting