Debug prints are added in define record and define manager