adding interrupt example code
adding interrupt example code