removed java code