add demo of Python and Java