adding bin and output