how to output code without magic