better doc and example for mprof