Fixing advance_date so it will take an arg