random code.  utilities.