Add new create function of stack.