proper handling of object's temp data