effect in and out attribute