minor: added a couple of functions to handy.java