should you invest in index fund without losing money