Cleaned up syntax errors