add example for getting Origin