Sorted syntax errors