Added some javadoc comments to answer upvote section