initial code and sample ztab file