Fixing syntax problems; putting variable declarations on one line