moved methods from ZWS.php to Zable.php