indexes need to require the label in the implementation of query