What if you had invested right before a market crash