Removed unnecessary iter function