rework periodicRecord view state