changes to periodic generation