add example for learning