Fixed formatting and removed console.log