zpatterns somehow working