got stats sort of working in the client