add repr function to CR field