Corrections: syntax errors, var name mistakes...