added PeriodicThread2