Brushed up some syntax errors