changed the return data to itertable for better use in for each loops