simplify recorder
remove doc (to be re-written)