fix parallel
add example for renegerator
add regenerator