added javadoc and removed unused logger