Get confused with transfer gain on corp, need help

Violet incorporated her sole propiretorship in 215. She transferred equipment with a 125,000 basis and 160,000 FMV, and corporation assumed an 80,000 loan held against the equipment. The loan was taken out 1 day before the transfer, 3 years after the equipment was purchased, because Violet knew it would provide a tax benefit. What is the gain recognized by shareholder and what his her basis in the corp. I am using gleim for sim. According to gleim, 80000 loan also treat as boot, since it is loan relief from the corp, the gain is 160000-125000+80000=115000, basis= 125000-80000+115000=160000 My problem is that when I read Becker, it never said that the loan relief is going to be a boot. Becker always say that when loan is more than basis, there is a gain. Lost