use GetXXX(index) to speedup data loading from database