java first draft
java impl
emplace fix