getIndex getter added