added RetrievalExample.java