java initial impl.