updating to add sorted restrictions list