adding periodic example