How Automatic Assignment works