Refactored & added a selector to the example.