use seconds in order to prevent integer overflow