got rid of a couple of syntax errors