print functionality added to diagnostic bespoke