removed unused variables / console.log