working on stats and event log things