trying to use bids as dictionary keys, with hash method