reduced some table accesses