mini: writeout constant values instead of using global vars 2/2