added comment to playEffect method