Ah, on line 79, you check `frequency`, which threw me off, but you set `._time_period` from `._frequency`, so it's alright.