added function for block to look at the gadget