add foo to example.java