4 ways to invest in real estate in 2024