use $mode for interlace