example of single responsibility principle