exposed stat func