zest layer to build object, code fix