Prepare for stack approach