Commented out debugging purpose console.log entries.