adding periodic