default value for 'day' was being evaluated at definition time, and not call time