Fixed code that was incorrectly formatted and wouldn't compile