Fixed naming errors. Now it can compile.