add mode lines

Change-Id: Id7825ecd076a5d8cbe926a26bc74fc7d0da1d621