move sweep time to var