first draft of bf to java in bf