no need for so many console.logs