added support for per period restrictions