made utility methods private

because @mrreynolds is a Java fanboi in disguise