same comment for comparePhoto