used zs_new/zs_delete
added basic GC