apply effects