fork of StatLogic