Price, quality, and selling time in the housing market