sml: implement an indexer skeleton