Expanded shadow code