now compiling and checkstyle error free