added interersts to demo.java