added another console.log for more trouble shooting.