sub inverted { if ($_[0] == 0) { return @_[1..$#_]; } else { return (0, @_); } }