little fixes adding some javadoc