not working commit. Add javadoc's