notes
find closest value in dict