单项选择题

Location is the first thing customers consider when ______ to buy a house.

A.planning
B.planned
C.to plan
D.having planned