Coding of main display