Seems to work - was worried that it wouldn't work mixing list and iterator.