added multiple day support