adding more java documentation