more work on periodic