changed period counter to only included primative cycle.