a stack must be specified