Variable typo - $hoff should be $voff