updated bodyexample.java with comment