Add stat creat functions