Bug corrected: if an object was not in the field, the whole program would stop. It is corrected now.