Added shadow util from old project.