removed unneeded console.logs