removed warning: $cigar can be undef