some changes from syntax errors