removed useless console.logs