setting up a prototype system for stats