Added encode line