Added some checking code to allow for no restrictions