simplify stack creation