things to know when buying an apartment