removed console.log debugging statement.