added print out to keep track of input samples and where command was called