notification sample has been added
on_failure method has been added