added comments and java docs