add name to input/output
better printing for source/params