2s period limit replaced by variable, after working on Noa's data