added output step; track all sources; gather all output paths