DocFast migrated code version 1