removed console.logs and stupid mistake