Extract change of variable to Custom