got the mapping function working and added cache for simbad