made more java stuff work