docDict now works