3 errors fixed, just the next() of Itr which returned an Element and not a data