Fixing Compilation Errors