add some utilitary static methods