Investing with medium-term timeline