detail formatting