removing old java code