WIP #82

working on resources/output.php