adding labeled hashes, tunables and fixes