make it compile and convert Binary.Dict to map