add a restriction num