the $ret variable has been defined