allow name prefix and add a destory method