some testing java code.