Changed .next() to next()