change assign statement to expression