removed couple console.logs