Adapted the method to call for the new object.