add dayFactory