seconds_threshold needs to be an int