add restriction for the display