triggers allow you to register code to be 'triggered'