add get info_hash function