removing debug code and ensuring the options object passed at invocation works