Changing variant to unit