external odb work in progress
external odb foreach