place stack within context