Do work on each period