refactored syntax