added interaction hash check in the examples