Simplified a function call