show progress
add statistics
bugfix: add cas.h