add function make_dummy
fixed #16