Basic functional version of DocuFast