more java conversions