edited 10bit display example further