Added finitedatasetiterator