Use num_objects instead of objects now