Matching images game with App Inventor


I want to make a matching game application with app inventor, and I'm using 16 buttons, and 8 different images, all the images should be duplicated, since every two buttons should have the same image. I need some help with the blocks, and how to make the comparison of the images in two buttons. Thank you in advance :)