removed console.log line that causes a typerror trying to convert circular structure to JSON