removed dead imports
added javadoc