Added 'index' method