Got rid of syntax errors