+ logic for stats collection