working with the shadow layer