removing www function