dealing with shadows