prelim output handling