restrict procedure boundaries