First parameter to be the number of instances.