corrected a couple of syntax errors