Commented java code