implementation for fsindex