logging
size filtering in preprocessing
extract "done" state