simplifies code (i.e. the consumer example)