Changed console.log() to log() to reduce undesireable console statements.