an apartment can be used for a dwelling