added NDataSource implementation needed for AutomaticGrid