added reportOutput option