Handle syntax errors gracefully
Do this correctly