More people buying homes during pandemic