removed old java code that is now implemented in python