making reader/printer consistent with constants