Simplifies code