rewrite dash for hash inheritance