Buying an apartment and a mortgage