change period diagram