hopefully fixing missing java code