add javadocs and fix name