stathat wrapper