fixed syntax errors & updated variable references