add java code to import the data