add hash/linking support