The console.log is probably unnecessary, but it doesn't hurt anything, so feel free to keep it if you like.