added example.java