Reoved code duplication
Modified ZestPrinter to support complex conditional