working on periodic test