Almost finished with code. Got correct answer in console.