cleaned up syntax errors