Several console.logs in this section.