added functions that provide information about indexing and test for them.