fixed derp and update javadoc