Two index methods, simple and complex