add 'almost' correct version of calculating time to next download