use java.util.Arrays, not the crazy scala thing