Fixing spacing and console.logs