reorganized output