initial complete tz function