changes in ix.h and indexscan - not finished