stack order problem