Added effect handling codes, but it shows no effect yet.