some utils
more
more ruby to java