changing index extension, adding get method to field