adding reset alarm example. fixes #3