proper input/output handling and renaming to blotdown