autonomousPeriodic  fixed up