add new function preventing objects from failing out