copy dinda's portion of code to a java file separate from master. this is for troubleshooting purposes.