added stat collection to my controller