provides a better separation of concerns