javadoc added
warnings removed