Incorporate stats functionality as well