add some java stuff