add javadocs/comments