remove some syntax errors first; still problems