Better error handling + syntax errors