add method setResult()
add an anonymous interval to be consistent with validators
update example by using the new method setResult()
add a new example of usage