define read_bin in plt_map rather