Borrowed fund and capital gain exemption