fixed some bugs. added java