add variable assignment to until method

variable assignment and until statement can be on one line