added delay of 2 seconds between generation of restrictions