Added effect value code.