working on osx sucks
Removed combine/output from decode as it should be