a duplex is used for housing