add java version of firstStep