adding const to mondata.c