This indentation is weird. Can we fix that? (move the ```if``` up into the ```date = ...``` line)