pin layout
segmeneted control
fix flex