First try to get index working