proper matching of images in call log and lot of performance
optimizations