First version of ZQL