backend: store the code itself with the result