My real estate company buys foreclosed properties at the "courthouse steps", usually at 30-70% discount off market value, and then we either rent them out or wholesale them to other real estate investors.