Finish some basic function of iterator