move indexing methods to a concern