iterator should be uint