adding additional console.log line for debug purposes