use seconds in prder to prevent integer overflow