fixed Cole's syntax errors