Fixed syntax errors and compiled.