removing old version of document-list
#240 fix return type to match code logic