slice variable move to others