add shadow capability to function unit