profile index working