Added bracket & restriction block functionality