added code and pre fields