renamed index in public