tab to space
console.logs removed + result added
bug fix with result