Adding prior info to output, refining output formatting